package com.stms.service;

import com.stms.pojo.Trucks;
import org.springframework.data.domain.Page;

import java.util.List;

public interface TrucksService {
    public boolean addTrucks(Trucks trucks);

    public boolean editTrucks(Trucks trucks);

    public void deleteBatch(String trucksIds);

    public List<Trucks> findAllLicense();

    public Page<Trucks> fuzzyQuery(Integer pageNum, Integer pageSize, String direction, Trucks trucks);

    public Page<Trucks> findByPage(Integer pageNum,Integer pageSize);
}
